package br.net.woodstock.tickettoride.api.jee6.manager.impl;

import javax.ejb.EJB;
import javax.ejb.Local;
import javax.ejb.Stateless;

import br.net.woodstock.tickettoride.api.core.SimpleQueryableRepository;
import br.net.woodstock.tickettoride.api.core.SimpleRepository;
import br.net.woodstock.tickettoride.api.manager.CertificateService;
import br.net.woodstock.tickettoride.api.manager.common.AbstractCertificateService;

@Local(CertificateService.class)
@Stateless(name = "certificateService")
public class CertificateServiceImpl extends AbstractCertificateService {

	private static final long			serialVersionUID	= -8137347034693338804L;

	@EJB(name = "simpleRepository")
	private SimpleRepository			simpleRepository;

	@EJB(name = "simpleQueryableRepository")
	private SimpleQueryableRepository	queryableRepository;

	@Override
	public SimpleRepository getSimpleRepository() {
		return this.simpleRepository;
	}

	@Override
	public SimpleQueryableRepository getSimpleQueryableRepository() {
		return this.queryableRepository;
	}

}
